package com.dayuanit.dy17.mix.aop.service.impl;

import com.dayuanit.dy17.mix.aop.annotation.Transactional;
import org.springframework.stereotype.Component;

@Component
public class PayServiceImpl {

    @Transactional
    public void pay() {
        System.out.println("PayServiceImpl pay()");
//        int i = 9 / 0;
    }
}
